Get the reference Scope of a selected element