Replace the UUID interface with a string typedef.

Also renamed registeredUUID to canonicalUUID.

Fixes #38.