I found the stamp naming system in the TPT source code on Github, more specifically Client.cpp. The first 8 characters are a 32-bit Unix-style hexadecimal timestamp, while the last 2 characters are a sub-second hexadecimal counter only used when saving multiple stamps within a second. If you somehow try to save more than 256 stamps per second, TPT will likely freeze or crash.