MaxScale ID is set and passed to monitors

MaxScale ID is set and passed to monitors.

maxscale-id is: ipv4 + port + pid

Monitor uses it in backend queries for replication lag
monitorSetId sets checks the function pointer

monitorSetId sets checks the function pointer against NULL

A monitor module that doesn’t require monitorSetId puts NULL in the
MONITOR_OBJECT