I remember they made that joke in All Grown Up. Tommy brought a pickle-powered battery to school for a presentation, and he said, "Now, you just take an ordinary dill pickle - not to be confused for my little brother!" That's one of the few lines that actually stuck with me. :P
I figured that out when I was six, it wasn't exactly a secret.