How to find polarity of photo interrupter
Usually the labels are as follow:


A - Anode, this is the LED anode (+)
K - Cathode, this is the LED cathode (-)
E - Emittor, phototransistor Emittor 
C - Collector, phototransistor Collector.


The photo transistor base is basically the light from the LED.