If you add the magic tag
to your Science Foo Camp photos, Flickr will automatically show a link that says
Taken at Science Foo Camp.
and the photo will appear on the Upcoming event page as well.
I guess you just grab the number from the Upcoming page URL - in my case, I just noticed this feature and copied the info from Duncan Hull.