Factor out getId() from Misbehaving(..) calls
Summary: Factor out repeated getId() calls from Misbehaving(..) lines.
Test Plan: make check
Reviewers: kyuupichan, freetrader, sickpig, deadalnix, #bitcoin_abc
Reviewed By: deadalnix, #bitcoin_abc
Subscribers: CCulianu
Differential Revision: https://reviews.bitcoinabc.org/D384