Add forgiving error handling to id parser.