Do not cast an <uint> value produced by random generator to <int> to avoid negative values, so let's change all the ids to be <uint>