Metonymy was the first thing to spring to my mind but it seems that's more the other way around. I couldn't find a term for totus pro parte in the Forest.