>Here is the code I use to generate some kind of numeric GUID.
Just to be picky here: a GUID is specifically a 32-byte hexadecimal number (or 38-character string, depending on the representation) generated from a specific algorithm. You can't use your function for "some sort of GUID", but you can use it for "some kind of unique identifier."