There should be a constant for "opaquelocktoken" to prevent typos.
Even better would be to have support for formatting and UUID handling:
- Constructor taking UUID instance, and optionally an extension to a static
- Factory method automatically calling UUID generator internally.
- Getter for UUID and extension (parser).