On new collection set id to nil.