Yeah, there's a pattern. Check page 7:

http://klearmedia.com/personal/bmw/BMW_OBD.pdf

I've used this before and it works.