Check we're checking for a class with an actual name
Simplify strings in BP_XProfile_Field->admin_validate() for easier support with custom field types