unifies class names if namespace is empty