Add a method to retrieve the UnitId of an actor