You must prepare a multi-sub material, in the same way as if you were attaching all segment meshes in an unique object.
if i remember well, lamps uses the same muti material of the balustrade (since both are created with the same RC object), so the material was already assigned in a previous step.