Synthetic nebular emission from massive galaxies – II. Ultraviolet-line diagnostics of dominant ionizing sources | Synapse