Refactored ScureIdGenerator