properly duplicate the attributes
add a tags attribute; populate it with the containers id if nothing is supplied