[Ticket #19] Robustify UUID implementation