Select posts that match multiple category names, must match all categories listed

Well… you could grab category names ID using get_the_category function(WordPress Codex).

$names = {"japanese", "dessert"};
$categories = get_the_category();
if($categories){
 foreach($categories as $category){
  if( in_array($category->cat_name, $names) ) array_push($ids, $category->term_id);
 }
}