PT parser: change error message when parsing unexpected identifier