Blocks now have a _compontentPath array which includes the current and all parent components. This enables you to work out the context of the current Block.
New CssClassses trait that can be used to generated css classes for the current Block, the layout it’s in, it’s parent Blocks etc.