Not sure if this is intended or not, but I know that having anything public is no no when UEFN comes out so I ll leave this one here.
This is modeling mode >> attributes >> assign materials to selected triangles