fix PHP Notice:  Undefined index: id

PHP Notice:  Undefined index: id in ./vendor/phpactiveresource/phpactiveresource/lib/ActiveResource/ActiveResource.php on line 299