How to generate uuid? any uuid()?

Saw myself mentioned here. I remember I solved something similar here: