How to retrieve newly allocated uids after an add mutation in dgo?

The example should work. Not sure is failing for you.

Nope. A blank node is a temporary Identifier(that exists only in the context of the respective transaction). Not a facet. Facet is a totally different thing.