Added code to sanitize against account creation with illegal IDs.