We have TONS of messages like this in the engine. I believe this should be fixed systematically, after we have some good plan about it.
But in general idea is to have same message format for all contextually connected errors. E.g. if it's an error about Views, then it should include view/loop/frame and their valid range. If it's error about room object it should include object's name, and if about character - character's name; and so forth.
I'll try to write a task ticket for this, for the future reference.