Researchers have cracked the identity code, recognizing individuals by their brainwaves.