Implemented rudimentary language-inferer. Bug found with identifiers that contain keywords (see new Python tests).