It is easy enough to say that ideas are registered in the brain as patterns of connected neurons, but another idea is that the brain is but a receiver of a non-localized field of energy, that tunes into different frequencies to get the train of thought rolling.
Which one is true? I do not pretend to know, but lean towards the latter, since it would explain how big discoveries tend to be found in different places at roughly the same time...