Implement retrieving an attribute value.