Bugfix revert move

Bugfix: The span tree is broken when moving a span is reverted, because a function 'IdFactory.parseSpanId' return a string of begin and end.