The identity of the info is now the AST.
Pass the AST as the identity when adding a lexical variable.