I don't get how you can generate a unique string with this. Can't you increment a counter somewhere, and add it at the end of the location ?