Unknown. The "trick" sense might come from the trick of Dido, queen of Carthage, who, having bought as much land as a hide would cover, is said to have cut it into thin strips long enough to enclose a spot for a citadel.
Write this word
Practice speaking and memorizing "dido" and many other words and sentences in English.