rename unsafe_ref and unsafe_assign. closes #2906