Fix some mistakes with the UID hashing process. Some more work needs to be done regarding formalizing the datatype and tagtype fields. If anything, I may just collapse them into a single "tag" field since they are only used for equality. Alternatively, I could make them integers to increase efficiency. Depends.