ID Maps
ID Maps provide a valuable way to segment your model using colours. Essentially, an ID Map assigns different colours to different parts of your model, which is then used to mask your layers in different ways.
The video below explains ID Maps more generally and provides a step-by-step tutorial showing how to use them in PBR Painter.