Adding proper hash indices on citation and identifier. Fixing bug with pro parte keys pointing to itself not being replaced in sync updates