On a recent Dragonair flight from (I think) Shanghai to Hong Kong there were three separate boarding lines - F, J and Y. Staff checked everyone's pass before boarding commenced and made sure interlopers were despatched to the back of the correct line.