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