As DTR said, we use MusicBrainz to match your media. Under the hood, if the tags include MusicBrainz IDs, we (heavily) weight towards that item in the database for matching purposes.
Aside from more involved solutions (like Beets), I believe Picard is the only tag management tool to write those IDs to your files.
There’s even a handy guide here that was put together by the community to help you get started with Picard: