Implement bestAttribute method.