He is a heavy eater of beef. Me thinks it doth harm to his wit.
—Shakespeare, "Twelfth Night"
metonymy
A figure of speech in which one word is substituted for another with which it is closely associated. For example, in the expression The pen is mightier than the sword, the word pen is used for "the written word," and sword is used for "military power."