add support for class name in belongs_to associations