search: Remove use of deprecated origin_identifier function
Since rDMODf56becc196ed6dd4b211c97096654c4400b047ec, an error is
raised when calling that function with a dict containing unexpected
keys.
So use recommended way to get origin identifier since the function
deprecation.