uniqid() is just a microtime style counter
6a707c8b214c0 (uniqid)
1872501733987520[hexdec of that id]


If I could remake my chat, I'd use:
1785756811.1364 [microtime(true)]
57129 [crc32 mod 100k, for chat IDs, padded]