You can maintain references to the individual extension objects in your plugin.
def inner = project.outer.inner
println inner.a
Also, the create() method returns the created extension
def inner = project.outer.extensions.create( 'inner', ... )
println inner.a