I don't like that this mutates the object in question. You could do this instead:

    $data = parent::getData();
    $data['id'] = $this->httpRequest->request->get('id');
    return $data;