code: def new_record(self, key, value):
      
      new_record = self.get('new_record', {})
      ids = self.get('ids', [])
  
      for value in force_list(value):
          for id_ in force_list(value.get('a')):
              ids.append({
                  'schema': 'SPIRES',
                  'value': id_,
              })
  
          new_recid = force_single_element(value.get('d', ''))
          if new_recid:
              new_record = get_record_ref(new_recid, 'authors')
  
      self['ids'] = ids
      return new_record
docs: Populate the ``new_record`` key.
  
      Also populates the ``ids`` key through side effects.