Create ChildRef or SeriesRef depending on type