In PIStudio, right click the object on the screen and select [Copy object name] option for copy object name into clipboard, then paste into the Lua script.

For the Lua custom curve example, the object name is "0_CST_0". The first "0" indicates screen number 0, and the final "0" indicates the object's creation index, starting from 0.
