Adapt example to key-based lookups
Adapt example to key-based lookups

Previously, we used the attribute itself to up it's value. This has
changed. Now we use a key to address a property.

These changes adapt the attribute example to the new situation. They
also add some more documentation to the example.

neithernut/cmoh,neithernut/cmoh