match variant IDs specified in the variant.php files