I used to work in a polling station many years ago hence why I do mail in voting because you cannot physically leave the polling station you are assigned to and it is never your own polling station. So in order to vote ourselves we had to do mail in voting.
I don't know how strict people were at other polling stations but basically if you turn up with your polling card we had to say "to confirm you are John Smith of 14 Pleasant Avenue" and they would have to say yes. We did get people questioning it but it was pointed out that later in the day we could get another person without the polling card claiming to be John Smith.
If someone showed up without a polling card we would ask for any other ID, if none then we would put an asterix next to their name on our list. We would write on their ballot number onto their voting slip anyway on all of them. If there was any issue later with a polling card in hand John Smith we could I assume pull the ballot paper of the imposter during the count.
No one gives a flying fuck who you vote for, we had 1500 registered voters at our station. Some took issue with us writing the voter's number on the slip but if you have ever seen a count no one is looking at the numbers, just pilling votes into piles.
In all the years I did this job we never had anyone claim someone had voted with their card etc.