metonymy

noun: A figure of speech in which someone or something is referred to by the name of something associated. For example, the use of the word “crown” to refer to “monarchy”.