select folder_id from cr_folders, cr_items where name = 'public' and parent_id = :parent_folder_id