add a function to get the node name of an actor

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>