track definitions on ident nodes