def new_id(self):
return self._auto_batcher.new_id()<EOL>
Generates and returns a cluster-wide unique ID.

This method goes to a random member and gets a batch of IDs, which will then be returned
locally for limited time. The pre-fetch size and the validity time can be configured, see
:class:`hazelcast.config.FlakeIdGeneratorConfig`.

Note: Values returned from this method may not be strictly ordered.

:raises HazelcastError: if node ID for all members in the cluster is out of valid range.
    See "Node ID overflow" note above.
:raises UnsupportedOperationError: if the cluster version is below 3.10.

:return: (int), new cluster-wide unique ID.