parse ref statements
ref modifiers in objects and data
remove cyclic, and make REF create s-mutable-fields
consolidate shared split-* code