Simplify id's implementation.