Check for ValueError exceptions in the Trans ID validation function.
(which results in better error messages sent back to Mantid).