code: def find(self, name):
      
      for i in range(0, len(self)):
        if self[i].name == name:
          return i
      return -1
docs: Get the index of a field in the flattened list given its (fully-qualified) name.
  
      Args:
        name: the fully-qualified name of the field.
      Returns:
        The index of the field, if found; else -1.