AST visitor bugfixes
Add DefId to replace u64 in Ident, in preparation for AST mapping