added checking of duplicates at automatic column's names generation