for undergraduate, only reputation matters... much of which depends on whether or not the school has a DIVISION 1 football and basketball team. those schools are obvious. however, both UCLA and UC berkeley have actually been getting worse, and other UC schools will be more reputable within the decade... so in 30 years.. UC DAVIS will be sounding much better than UCLA
for graduate work.. (and there is only like a 5% chance that you will do it, no matter how commited you think you are)... go with the school with the best graduate program for that field of study.. example: nuke engineering= berkeley (lawrence livermore labs)
but the main thing is... the popular schools' hype doesnt mean much..
i personally think that a school like UC DAVIS is kind of forgotten.... meanwhile, it has amazing projects going, and is getting huge grants for FUTURE technologies... engineering, physics, and especially medicine... so i definitely think uc davis will be extraordinary in a decade...