BIBD, course work: reference id types bug fixed