As consumers become more educated, generic drugs could secure the long-term affordability of prescription medications