use class option id in BAO