Add peerid to getpeerinfo to allow correlation with the logs.

This seems to have been missed in #3764.