Focusing on risks or rewards? How rankings affect reputation-based choices