I understand the intent, it just seems to me that you're trying to jam `class` or `rel` functionality into `id`. If you have many things in a document with the same identifier for selection, it seems to me that's a class of potentially many things. Not the unique identifier of one thing. Just because your API serves up only one avatar for each user, that doesn't mean that `avatar` uniquely identifies one thing. It just means that you happen to have something with an `avatar` property. Now, if you're selecting `"id": "avatar26531-34"`, that's a good use of an `id` property. But then it should be perfectly fine to let the scope of the id encompass the entire document, which would also make selecting something particular from the document more convenient for the client.

Am I making any sense?