cleaning up name building to strip special chars for generic type mirrors (probably naive... unit test anybody?)