def METHOD_NAME(self):
    self.domain_id = None
    payload = self._get("domain.list")
    for domain in payload["DATA"]:
        if domain["DOMAIN"].lower() == self.domain.lower():
            self.domain_id = domain["DOMAINID"]
            break
    else:
        raise AuthenticationError("Domain not found")