Bases of competence: a framework for facilitating reflective learner-centered educational environments