You can remember the meaning of 巫师 with this easy mnemonic:
To become a witch (巫), you need a good teacher (师) like a respected wizard.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.