assert ids match