forbid [ or ] in override array value; increment variant num per base name