colloquial for "signature," 1903 (sometimes, through some unexplainable error, John Henry), from the Boston merchant and rebel (1736-1793), signer of the U.S. Declaration of Independence. The extended sense is from his signing that dangerous document first or most flamboyantly.
John Hancock, president of Congress, was the first to sign the Declaration of Independence, writing his name in large, plain letters, and saying: "There; John Bull can read my name without spectacles. Now let him double the price on my head, for this is my defiance." [Hélène Adeline Guerber, "The Story of the Thirteen Colonies," New York, 1898]The family name is attested from 1276 in Yorkshire, a diminutive (see cock (n.1)) of Hann, a very common given name in 13c. Yorkshire as a pet form of Henry or John.