def METHOD_NAME(self, data, reference_records):
    reference_record_id = self.get_reference_record_id(data)
    reference_record = reference_records.get(reference_record_id)
    reference = self.get_reference_or_linked_reference_with_label(
        data, reference_record)
    return reference