For all “matched pairs” of scrolls and spellbooks (remove curse, fire and fireball, identify, etc), identifying the scroll automatically identifies the spellbook. Possibly vice versa instead, where learning the spellbook automatically identifies the scroll, or both.