ref: return {ok, Name} tuple for the name in the NIF