Text this: Performance optimization of physical layer security in STAR-RIS aided NOMA system