Remove unused call to retrieveObjectIdentityPrimaryKey()

$key is never used.