Fixes #6481 - ruby 1.8 syntax error in id resolver