That's as much a technology problem as anything else. If you line the streets with chargers, then have the car and charger interface with each other to report which car is actually charging, you can bill the owner.
Whether or not the areas cars are parked have the appropriate wiring to facilitate chargers is another problem entirely. And quite frankly, I'm still skeptical our electric grid can handle everyone plugging in a car - solar panels or not. It's been overcast here for 4 days straight, if I had to plug my car in, it'd be drawing from an already strained grid. If everyone in my neighborhood did the same thing, I can see a lot of rolling brownouts.