Each door and matching opening is labeled. After that, the hinges are removed and labeled as needed. The location of each hinge is physically marked/scored lightly onto the frame in some cases. Labeling everything is extremely important so that an easy re-installation can occur later.
In this photo, Bill Becklund (40+ years of experience) uses a basic battery powered driver to remove things. The Milwaukee make with the light on it helps a lot!