Simplify instance id lookup.