What's that goo?

There is some gooey caulk like material on the inside of doors and panels that holds a sheet of plastic in place behind the interior panels. I have always just used gorilla snot, weatherstrip adhesive, or sometihg else I had on hand to re-affix the plastic in the past. What was the stuff used by the factory and can you still get it somewhere?