Get rid of using type-ids.

In future they might get unreliable, though air might always be 0.
More formatting changes.
Fixes/changes to naming signs.

* Name delegation is checked first now, so you configure to use the same
patterns for normal signs and named signs.
* Any line of the name-sign can contain the name, checking lowest first.
* Direct name specification: the exact text is now used.