Shorter implementation for creating alternative UUIDs

* Slightly shorter code for producing an alternative UUID.
* Functionally equivalent to the previous one.

Ping @adamvoncorswant or @mikaellothman