code: def natural_key(self):
          
          # Recursively extract properties from related objects if needed
          vals = [reduce(getattr, name.split('__'), self)
                  for name in self.get_natural_key_fields()]
          return vals
docs: Return the natural key for this object.
  
          (This is a generic implementation of the standard Django function)