A view assigned to a slot can access the slot name where its rendered.

I need the information where a view is rendered for the next version of kotti_navigation, but I think its a good idea in general if a widget can access this.