Search subkeys when looking for KeyIds. Do this for both public and
private keys.
The KeyIds are indexd in a map when keys are loaded to make finding them
easier. Subkeys are not stored directly in the map; the whole parent
entity is stored instead which includes the subkey.