select object_id from acs_magic_objects where name='the_public' select public_p from surveys where survey_id = :survey_id