simplify class-name generation