You can not distinguish ideas from material reality. That is sensory perception, and your ideas that result are basically the accumulation of material structures, or simply knowledge. So ideas are not anything more than the knowledge that you have which interprets, and reinterprets the sensory perception.