move "name or id of" an id function to Grammar for use by others