[WIP] Add scope method to RandomVariable and use throughout for structured naming
#727
+64
−55