def _get_worker_id(self, conn):
        """Get the worker ID, using a preestablished connection."""
        if self._worker_id is None:
            self._worker_id = conn.incr(self._key_worker())
        return self._worker_id