1D convenience tweak for BC codes

Adding support for giving a bare number for the BC codes in 1D.  This already works for the other parameters that are normally lists for 2D and 3D (num_cells, lower/upper domain bounds), but needed extra support in the BC codes because they're iterated over to replace string codes with numeric codes.