Generate a random unique ID/hash for a structure field entry