code: def by_name(cls, name):
      
      if name not in cls._goal_by_name:
        cls._goal_by_name[name] = _Goal(name)
      return cls._goal_by_name[name]
docs: Returns the unique object representing the goal of the specified name.
  
      :API: public