Anecdotally, I'm pretty sure they keep a long memory and can recognize people like corvids are known to do - I used to work near the beach, and a particular seagull would fly up to me, and only me, for a period of about 2 years because I would give him food scraps. Never did it for any of my other coworkers. Was always amazed by that.