Solving the Index-Number Problem in a Historical Perspective