fix(HashMap): maintain separate uid only if explicitly requested to