Speed up tracking seen attributes.

Using hash tables is a waste of resources.