I'm writing a script which involves the comparison of two objects. I keep finding myself referring to this sort of test as an "identicality" check. From my preliminary research, "identicality" does not seem to qualify as a word. Also, the more I think about it, the less sense it makes to me. A single object should not be able to posses the quality of "identicality", since it requires that a second object exists for comparison, yet makes no reference to said object.
Does it make any sense to refer to the "identicality" of two objects? Should it instead be "identicalness", if that makes any more sense?
I'm not sure if "identicality", or even "identicalness" is etymologically sound either, or if it is just my mind kludging things together.