Return value for an existing attribute.
Return nil for a non-existing attribute.