Hello, extracting names from Step model(Advanced face and other, not assembly entities) into XCAF are not implemented.
You can do that by yourself, after reading XCAF. Please check the source: https://github.com/Open-Cascade-SAS/OCCT/blob/f39f9838e43879ca3a1582de71...
You need to iterate and found your step entities, extract their shape and then find a shape label. StepSession is available from WS.
Feature to extract names is already interested by community. It will be helpfull, if you write your suggesting in the next survey: Shape the Future of OCCT! Your Opinion Matters! - Forum Open Cascade Technology
Best regards, Commenter-1.