Check inverterID

Returned InverterID will now be checked with supplied InventerID. If
inverterID is not given no check will be performed.