natools-references: add support of references to constant