Can anybody tell me what exactly is a scoped reference type?

In the documentation, under Expressions, the dereference-operation syntax specifies
|-- scoped-ref-expression -> attribute-name --|


the documentation says that a host variable, paramter marker or OTHER UNSCOPED REFERENCE TYPE VALUE requires a CAST specification with a SCOPE clause.

How do you know when something is scoped or not?