Fix linkage specification for identity key function (closes issue #42)