The function, ng:uuid() can be used in order to generate a 128-bit universally unique identifier that complies with the Internet Engineering Task Force RFC 4122 standard.
The function has no parameters and is simply called as ng:uuid().
You can e.g. see the result in a text element in the designer like below: