Static electricity is one of those everyday phenomena that turns out to be much more complicated than you might expect.