Wrap invalid attribute errors.
New name
Added tests for -valueForKey:attribute: