Implement value retrieval for names.

Add "value" field to name_show output, doesn't yet handle non-existing
names, though.