Because I don't want to waste `nextId`.   If I used `putIfAbsent`, `nextId` would have to increase even if we failed to put the new `Constant` to the map.  We could set the `id` of `Constant` later, but I would like to keep it final.