This function normalises a field that may be a UTR.
The algorithm is Remove any spaces.
If the resulting field is 10 characters long and numeric then this is taken to be the UTR - otherwise the field is left as is.
pInput | The input tax reference |
Returns | The output adjusted identifier |