Allow for both ids and sites/titles to be set for wbgetentities

Bug: 43309
Change-Id: I38bddcf3be55d5d8cf4fbdacb1cc73188ee79dd7