docs: def from_hostname(cls, hostname):
          """Retrieve paas instance id associated to a host."""
          result = cls.list({'items_per_page': 500})
          paas_hosts = {}
          for host in result:
              paas_hosts[host['name']] = host['id']
  
          return paas_hosts.get(hostname)