def model_name
      if defined?(ActiveSupport::ModelName)
        ActiveSupport::ModelName.new(name)
      else
        ActiveModel::Name.new(self)
      end
    end
def model_name
      if defined?(ActiveSupport::ModelName)
        ActiveSupport::ModelName.new(name)
      else
        ActiveModel::Name.new(self)
      end
    end
Delegated to from Ldaptic::Entry for Active Model compliance.