I found this idea mentioned by Martin here. He mentions that the resource ID would be an option. But where did this go?
General developer forum
Adding new parameters to resources
This discussion has been locked so you can no longer reply to it.