simplify defs traversal
todo
update refs
update ids
skip param/return symbs
labeled sym origins
add back @ and update tests
back to using ids with filenames