Simplified makeSimpleName function