Well, wizard does ultimately come from the worse wise, and implies excessive or bad knowledge. Warlock probably comes from oath-breaker or deceiver, so implies profanity, corruption, and artfulness. Sorcerer is kind of odd; it comes from a word for fortune-telling.