Goal-Based Scenarios: Case-Based Reasoning Meets Learning by Doing