icd: assign each allocator a unique id

It can be used to determine if an object is allocated by the current
allocator.
3 files changed