Added UUID generation capacity

I have added UUID generation capacity. I would like it if you review my patch and integrate it for your next release. There is no test but I could test as this is a single static method call. 
Thank you