The Peter Mandelson scandal has led to calls for Sir Keir Starmer to go. But how would a Labour leadership election work?