Set classes to form labels depending on input type. (Taken from StarGazer wordpress theme by Justin Tadlock.)