Modified grammar to allow a keyword selector as a base symbol.