Fix parsing of ID.