Roger Federer is on course to winning his fifth title of 2012, after beating Mikhail Youzhny to reach the final of the Gerry Weber Open.