return abstract class from relation_class, for compatibility with friendly_id.
give abstract class a name.