fix bug in id_offset in predict
Merge branch 'master' of github.com:priorknowledge/loom