code: def _attacher(self, key, value, attributes, timed):
          
          id, extra = self._get_attach_id(key, value, attributes)
  
          record = self._create_attach_record(id, timed)
  
          if extra:
              record.update(extra)
  
          return record
docs: Create a full attachment record payload.