Index: widgets.php
===================================================================
--- widgets.php	(revision 15473)
+++ widgets.php	(working copy)
@@ -554,6 +554,7 @@
 	);
 
 	$sidebar = wp_parse_args( $args, $defaults );
+	$sidebar['id'] = sanitize_title( $sidebar['id'] );
 
 	$wp_registered_sidebars[$sidebar['id']] = $sidebar;
 
