You get ideas from daydreaming. You get ideas from being bored. You get ideas all the time. When ideas float in our mind without any reflection or regard of the understanding, it is that which the French call revery, our language has scarce a name for it. If you have never stared off into the distance with a blank face and glassy eyes, then life is a shame.