I saw the film (TPM) when I was nine, so I didn't get that he was Darth Sidious until the end of the film, where they basically told you.
I don't get how anyone could go the three films without realising that, they didn't even try to hide it, which was presumably the point.