Why we prefer people just like us. And why that’s potentially dangerous.