I've never had any problem distinguishing between synedoche and metonymy. I just never remember which is which.