Polyimide memory: a pithy guideline for future applications