When you switch to Edit Mode Two new buttons show up.
Select some faces and click the Assign Mat button to assign the currently selected material in the material slot.
Select one material slot and click the Select by material button to select all faces on which the selected slot material is applied.
