It's much less stressful and prevents most issues (including getting bitten!) if you feed your snake in it's own enclosure.

Recognizing that container you're going to feed the snake in is asking you to get bit when you go to pick him up out of it, plus I doubt it's actual recognition of the container, but more of the scent that remains on it. Plus, there are regurgitation risks.