Structure and features of the formation of the confessional space of the North Caucasus