That's the angleID of the brick, also the print texture goes in between colour and colourfx. You can get them by calling:
%brick.getAngleID();
getPrintTexture(%brick.getPrintID());
(But getPrintTexture returns the default texture if the brick is not a print brick, so you might want to only write that if the brick is a print brick.)