Check if id parameter was set when member function call