Computational Design of Compositionally Complex 3D and 2D Semiconductors