IMatch 5 uses a totally different system to work with metadata than IMatch 3.
You can use the
VarToy App to experiment with variables.
To get the variable name
for any metadata tag displayed in the
Metadata Panel, right-click the tag entry and then choose
Copy as Variable. Then paste the variable wherever you need it.
To see all metadata contained in your files in the Metadata Panel, switch it to the
Browser mode.
This is what I did. I added your file to a database and looked at it in the Metadata Panel in Browser mode. The metadata tag with the person name / title is named Regionname:

I now created a new data-driven category in the Category View. Using the RegionName tag IMatch automatically extracts each region name (person) from your files, and produces a child category for each unique name. It then assigns the files containing regions with that name to that category.

This gives you an automatic "persons in image" category hierarchy without the need for scripts. In your database you should see many more child categories for persons of course. My database contained only your image for this test.

It's done in 30 seconds and from then on it's fully automatic.
[attachment deleted by admin]