Former MP likened Commons clerk to prostitute in campaign of