simplify id hashing