Introducing the new function sidebar()

sidebar(); - E.g. the current page uses a template like subpage.php instead of main.php, the function looks first for subpage.sidebar.php, if this file not exists it looks for sidebar.php and if this file not exists nothing will happen.

So the priority order is: templatename.sidebar.php, sidebar.php