always use class.base_class.name instead of class.name for reputation targets to fix STI issues