This is a wrapper around jpl_type_to_entityname/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_type_to_entityname/2 in preference.