changed ID regexp test, added a failure message to be more verbose