def audience_list(type:)
      tableized_type = type.to_s.tableize
      return Person.none unless @person.respond_to?(tableized_type)

      query  = @person.public_send(tableized_type)
      result = select_display_name_alias_and_guids(query: query)

      return result if @query.blank?

      result.display_name_like(query: "%#{@query}%")
    end
def audience_list(type:)
      tableized_type = type.to_s.tableize
      return Person.none unless @person.respond_to?(tableized_type)

      query  = @person.public_send(tableized_type)
      result = select_display_name_alias_and_guids(query: query)

      return result if @query.blank?

      result.display_name_like(query: "%#{@query}%")
    end
Build the audience list for @person with the passed in type and @query

 @param type [Symbol/String]

 @return [ActiveRecord::NullRelation] Person.none is returned if type is
 unknown
 @return [ActiveRecord::AssociationRelation] Returns the name and guid of
 the passed in type