Better way to parse ident.