Replace (supposed to be) private member access with call to public function to retrieve the current member's id