utility for id resolver