getResourceIdByAttr

Return a resolved resource id that the given attrRes refers to.

Throws

if the given attribute cannot be found.