Smisty assigns a page to a person only when it finds a valid tax code in the reading area or, if the payslip prints only that, the employee number: it doesn't compare names and it doesn't guess.
You draw the areas on the first payslip, around the value alone: that is how the employer's or consultant's code, printed elsewhere on the same page, stays out of the reading.
Every tax code must pass the check-character test; if the area contains neither a valid code nor an employee number, or the page is an unreadable scan, the page goes among those «to review» and you decide it from the preview, with the thumbnail and the full-screen viewer.