Refactored name prefix based on enum gender