This is a bit of a pain.
First, in the predicate editor editor, click in the empty field to the right of the last predicate field and select " variable". Then enter " FETCH_SOURCE.attributeName" in the box.
FETCH_SOURCE (or $ FETCH_SOURCE in code) is a special variable that indicates the object sending the selection for the selected property. There is also FETCHED_PROPERTY ($ FETCHED_PROPERTY) that returns an NSFetchedPropertyDescription object.
So, your predicate in the text is as follows:
id==$FETCH_SOURCE.searchId
Apple, -, , . , .