Design Principles for Optimizing the Performance of Multicomponent Water Splitting Photoelectrocatalysts