P0mme,
You may find that each of your devices uses a distinct prefix in the photo file names. The filenames are included in matches to search terms you enter in the search box at the upper right corner in Photos for Mac.
For example, an older digital camera used the prefix IM00.

The iPhone 5s running iOS 10.2.1 uses IMG_.

and so on.
If you are running Photos for Mac 2.0, you may wish to check this resource from Apple Support. The search function is flexible, and will match a range of general category terms as well.
http://help.apple.com/photos/mac/1.2/#/pht64de33e5a
Find photos by text or date
You can quickly find a photo by searching for associated text, such as the photo title, description, or date. You can also search for photos taken at a location, such as “California,” or that fall into a general category, such as “beach, “zoo,” “animal,” and “dog.”
iGardener