Opportunities, costs and benefits : rethinking the education production function