Description
the 'nameMatches' condition in the user query related condition visitor only looks for node name and principal name and ignores the authorizable id property introduced with oak 1.0.
since the authorizable node name generation can be customized and the principal name may differ from the id, this should be fixed in order to provide search results consistent with the meaning of the condition.