Before I remove boots or bonnets, I always mark around the hinge fixings with a fine marker pen to assist with alignment on refitting. Even if you are fitting a replacement, it gives you a good idea where the hinges should be relative to the boot/bonnet.