Id Cache: Allow to configure if ids should be reused (memory wise) or not, default to false
closes #2605