The node you are looking for is at gnat_rm/gnat_implementation_mode ada-version-and-identifier-rules.