Add a simple attribute parser.

This will probably move somewhere else when we get closer to
finishing fuzzy-happiness.