Introduced refId as nameId for children