Message ids

Tried to fix the cid: problem + provide safer id generation
why silencing the call here ? Can it trigger a warning if it does not exist ?