Pay restoration for junior doctors is a rallying point for wider discontent