Holding high-level casters captive is not that hard. If they don't have meta-magic simply take away spell components, or focuses (can't cast anything with DF or M), and then bind their hands and gag them? Or worse just keep them from sleeping or praying and they can't get their spells back? If...