How state pensions and “benefits” work