add assignment to language ref
fix identifier recognition in scanner