Which cultural trend played a significant role in sparking nationalism among countries involved in World War I?