When I told my doctor about my oldest having a reaction to a chocolate bar with peanuts, one of his first questions was "did he react before he knew it had peanuts?"
He's pretty anxious about food in general, so it actually made a lot of sense.