How do I get element ID or refer to it in GC?

as the title says, I know each element I model and script in GC has a unique ID. How do I access it as I need to export it to excel?