hashing resourceId namespaces. tests pass