When Roger Federer made the decision to hang up his tennis racket last year at the age of 41, he did so as one of the most influential figures to have played the game.