Fixes 1367 by preventing pyang discard repeated constituent-base-element-id