<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reference_doi(self, index):
 """Return the reference DOI."""

        return self.reference_data(index).get("DOI", self.reference_extra_field("DOI", index))