Refactored new-robot-name to avoid repetitive calls