This is a wrapper around jpl_entityname_to_type/2 to keep the
old exported predicate alive. The name of this predicate does
not fully reflect that it actually deals in entity names
instead of just class names.
Use jpl_entityname_to_type/2 in preference.