Words related to higgledy-piggledy
Middle English pigge "a young pig" (mid-13c., late 12c. as a surname), probably from Old English *picg, found in compounds, but, like dog, its further etymology unknown. The older general word for adults was swine, if female, sow, if male, boar. Apparently related to Low German bigge, Dutch big ("but the phonology is difficult" -- OED).
By early 14c. pig was used of a swine or hog regardless of age or sex. Applied to persons, usually in contempt, since 1540s; the derogatory meaning "police officer" has been in underworld slang at least since 1811.
The pigs frisked my panney, and nailed my screws; the officers searched my house, and seized my picklock keys. ["Dictionary of Buckish Slang, University Wit and Pickpocket Eloquence," London, 1811]
Another Old English word for the animal was fearh, which is related to furh "furrow," from PIE *perk- "dig, furrow" (source also of Latin porcus "pig," see pork). "This reflects a widespread IE tendency to name animals from typical attributes or activities" [Lass].
Synonyms grunter, porker are from sailors' and fishermen's euphemistic avoidance of uttering the word pig at sea, a superstition perhaps based on the fate of the Gadarene swine, who drowned. The image of a pig in a poke is attested from late 14c. (see poke (n.1)). Flying pigs as a type of something unreal is from 1610s.
magical formula used in conjuring, 1630s, earlier Hocas Pocas, common name of a magician or juggler (1620s); a sham-Latin invocation used by jugglers, perhaps based on a perversion of the sacramental blessing from the Mass, Hoc est corpus meum "This is my body." The first to make this speculation on its origin apparently was English prelate John Tillotson (1630-1694).
I will speak of one man ... that went about in King James his time ... who called himself, the Kings Majesties most excellent Hocus Pocus, and so was called, because that at the playing of every Trick, he used to say, Hocus pocus, tontus tabantus, vade celeriter jubeo, a dark composure of words, to blinde the eyes of the beholders, to make his Trick pass the more currantly without discovery. [Thomas Ady, "A Candle in the Dark," 1655]
Compare hiccus doccius or hiccus doctius, "formula used by jugglers in performing their feats" (1670s), also a common name for a juggler, which OED says is "conjectured to be a corruption of" Latin hicce es doctus "here is the learned man," "if not merely a nonsense formula simulating Latin." Also compare holus-bolus (adv.) "all at a gulp, all at once," which Century Dictionary calls "A varied redupl. of whole, in sham-Latin form." As a noun meaning "juggler's tricks," hocus-pocus is recorded from 1640s.