Set the unique identifier at the last moment, buffer messages to and from rabbit.