From the Code Wizard -> QIE System Functions -> Misc menu you can generate a UUID or GUID.
var uuid = qie.getUUID(removeDashes*);
The removeDashes option can be set to true or false to have the UUID generated with or without dashes.