I had each brainwave (4)
I believe the answer is:
idea
'brainwave' is the definition.
(I've seen this in another clue)
'i had each' is the wordplay.
'i had' becomes 'i'd' (I'd).
'each' becomes 'ea' (abbreviation).
'id'+'ea'='IDEA'
(Other definitions for idea that I've seen before include "Creative spark" , "Plan" , "Content of cognition" , "Intention" , "Mental impression" .)