the id of the gallery is passed using the gallery querysting variable.
like I suggested befor, look at the link on the add to page tab, the link will look like:
http://localhost/pg_121/galleries/ribbon_fullsize/index.php?gallery=1&theme=dark
the querystring:
gallery=1
tells it to load gallery ID 1