If I think of something late at night and want to make sure I remember it in the morning, I move my glasses to an unexpected place. That way in the morning, I look for my glasses, don't find them and have to look, think to myself "why are these in a different place?" and am reminded of the idea. It's surprisingly effective.
You can do similar things with your coat, cell phone, whatever. Just make sure you actually have a usual place for those, and that you don't pick such an unusual place that you lose them.