Roger Federer paid tribute to the crowd at the O2 Arena after defeating Andy Murray in the last four of the ATP World Tour Finals.