What role does sleep play in memory? Researchers look to lucid dreams for clues.