function _fnRowAttributes(settings, row) {
		var tr = row.nTr;
		var data = row._aData;

		if (tr) {
			var id = settings.rowIdFn(data);

			if (id) {
				tr.id = id;
			}

			if (data.DT_RowClass) {
				// Remove any classes added by DT_RowClass before
				var a = data.DT_RowClass.split(' ');
				row.__rowc = row.__rowc ?
					_unique(row.__rowc.concat(a)) :
					a;

				$(tr)
					.removeClass(row.__rowc.join(' '))
					.addClass(data.DT_RowClass);
			}

			if (data.DT_RowAttr) {
				$(tr).attr(data.DT_RowAttr);
			}

			if (data.DT_RowData) {
				$(tr).data(data.DT_RowData);
			}
		}
	}
Add attributes to a row based on the special `DT_*` parameters in a data
source object.
 @param {object} settings DataTables settings object
 @param {object} DataTables row object for the row to be modified
 @memberof DataTable#oApi