rename the method to get the name of an actor

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