code: def _list_patient_ids(self):
          
          results = []
          for patient in self:
              results.append(patient.id)
          return(results)
docs: Utility function to return a list of patient ids in the Cohort