There will no doubt be far less swearing than Rebecca Front is used to in the company of Peter Capaldi, as the doyenne of British comedy is to appear in a guest starring role for a two-part episode of the ninth series of Doctor Who.