Fallback for UUID generation

Better late than never, here is a simple fallback for generating (unreliable) UUID strings.