add scaffolding to print Types in Diagnostics
diag on selector expressions on non-struct types

For example, this now diags:

  var a int
  a.a

error: selector base type <name> is not a struct
  a.a
   ^~

For now, types are just formatted as "<name>", this will improve later.