Just a thought, couldn't you get the dictionary used in the message error message you generate in the same way you get the ID?