buddypress customization & sidebars - where is sidebar ID?

Hey. Where do I find my sidebar ID #?

and how do I put a sidebar into the activity feed?

And WHERE do I put that code in?