4da4719246
Do not compute IdSignature for descriptor a second time when adding a new symbol. Instead, pass the calculated signature to the lambda in declare/declareIfNotExists/referenced, and use it in `reference*` methods.