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