Diversity and Specialisation in Cities: Why, Where and When Does it Matter?