Extract net.opentsdb.uid.UniqueIdType from UniqueId

I'd like to start and decouple a few things from `UniqueId`. This is a simple extraction of the inline enum `UniqueIdType` into its own file.