collectSnippetIDsInTranspiledSnippet (also includes the libraries it uses)