Make mockbroker's ID an int32 to avoid a boatload of casts

@wvanbergen