fix the grammar to handle more than one identifier