In case the Name List Macro uses a template to render properties from the referenced document, there is no way to use this property in queries to match with the document's name. For this use case we add the text value of the property (property name + '$') as artificial property.
Note that searching is always on the Name value (not the text that is rendered based on the rendering template). This allows users to alter the rendering without updating the queries. In case the rendered text (based on the template) should be matched, refer to the text version of the property (property name + '$'). In case the name should be rendered using the Display Property Macro, also refer to the text version of the property (since the plain property name refers to the rendered property value as rendered with by the template).
The new artificial property is only added for new documents. Therefore a reindex is required to add this property for existing documents.