You can also select all the faces that has the same ID as the current selected one.
An additional option allows to randomly set IDs for the selected polygons.