Validate an NZ bank account number check digit (IRD algorithms A-G/X), normalise BB-bbbb-AAAAAAA-SSS and identify the bank code