Simplify eZFindResultObject::attribute()

There is no need for a switch here.