parser: Add out as a synonym for ref scope(T).
semantic: Handle non-scope to scope conversions, with specialisation for ref variables.