Only purgeID on ReactDOMComponent unmount

Fixes #1567 
@zpao Hmm? That's exactly what's going on here? :) (I find no occurences of `unmountIDFromEnvironment`)