[NUCCORE-1146] Add composite id option