Use id mapping first.