I believe it comes from requesting acknowledgment of who owns you or who's your master.

Common phrase - not wishing to be indelicate, it comes up a lot in b-grade sex talk

I would only know of this out of professional interest, of course.