Creates a matcher to match a specific R.id exactly, or to match (possibly multiple) ID names by a given comparison rule.