Changed UUID generator to use UUID4.

Since uuid1() creates a UUID containing the computer's network address,
and thus may compromise provacy, I switched the generator to use uuid4()
instead.