ctx.apply should generate different ids within few calls (close #35)