code: def generate_unique_host_id():
      
      host = ".".join(reversed(socket.gethostname().split(".")))
      pid = os.getpid()
      return "%s.%d" % (host, pid)
docs: Generate a unique ID, that is somewhat guaranteed to be unique among all
      instances running at the same time.