The 1970s’ galloping inflation hurt Labour’s reputation for almost two decades