code: def from_name(cls, name):
          
          result = cls.list({'items_per_page': 500})
          webaccs = {}
          for webacc in result:
              webaccs[webacc['name']] = webacc['id']
          return webaccs.get(name)
docs: Retrieve webacc id associated to a webacc name.