In New Zealand you have to register months in advanced, you receive a voting ID in the mail and you use this to vote in person along with (from memory one form of ID)
You can register on the spot but you need both ID and proof of address.
Also telling anyone who you voted for on the day is illegal. You can not post about it, because all party voting advertising is banned on the day.
I find this funny when Americans argue about things we figured out in the 90s.
We also have MMP which means you have more than one party so for example Bernie would have his own party.