SF's revitalization has more to do with that than with "tech" jobs. I know in the Hacker News echo-chamber its hard to think there's anything but Internet Tech in SF but it's got ALOT more business than that -- It's the largest banking center on the west coast, got a massive bio-tech footprint, has some major apparel companies (Levi and Gap and a bunch of smaller ones), etc, etc. It's pretty diversified.
You can see this happen in many ways aside from city's becoming safer: Real estate cost increases in cities, The whole bike-movement is an element of it, NYU getting 44k applications, the growth of the Brooklyn "brand".
I think, generally, there's a real desire for an urban community with culture and shared experiences. I know I don't have anything more 'concrete' to back this up, but this is the general sentiment of my friends (in their late 20s to early 30s.)