Taxes to the rescue
Smart pedestrians carry fobs (aka phones) identifying themselves a la IFF. The local good burghers slap a tax on such errant behaviour as wandering out in front of cars. The errant citizen has one's insurance rates adjusted accordingly. Want to drive fast in one's auto-automobile or take priority at a light? There's an incidental tax for that, too.