basename

Template function returns the suffux name after the last '.'

template basename () {
static if(is(K == string))
enum name;
static if(!(is(K == string)))
enum name;
enum basename;
}