So I want to Symbolize a layer using the Unique Identifier that I have created. Then I want to label by another field name. Please tell me we have a programmatic way or function that can do this automatically for me?
Not sure programmatically how you would do this but you can manually symbolize via Unique Values using the workflow here. To label on a field, you can follow the workflow here. Lastly, if you want this to be done automatically each time you add the layer to a map, you can create a layer file and add the *.lyrx to new maps views.