Trump a factor in North Dakota primaries