Generate unique with the column names and append with entry ID when exists