Only purgeID on ReactDOMComponent and ReactTextComponent unmount