Added ActiveRecordInterface::getOldPrimaryKey().