separate array index and ident into lvalue type