The uniqueId given to the chat room should probably have a little more than just a numerical value.  Otherwise, you're going to have ids of 0, 1, 2, 3, etc.  Prepending something else to it would make things a little better.  Maybe something like "room-" + this.uniqueIdCounter.  Then, your ids will be "room-0", "room-1", etc.