ast: make Name its own type
Fix all the test fallout