Novak Djokovic described facing Roger Federer as a "privilege" after defeating the Swiss star to win the ATP World Tour Finals.