code: function itemName( item ) {
        const tables = {
           composition: artifactsByRef.pages,
           widget: artifactsByRef.widgets,
           layout: artifactsByRef.layouts
        };
        const name = [ 'widget', 'composition', 'layout' ]
           .filter( category => item.hasOwnProperty( category ) )
           .map( category => tables[ category ][ item[ category ] ].name )
           .concat( [ '' ] )[ 0 ];
        return name.replace( SEGMENTS_MATCHER, dashToCamelcase );
     }
docs: /////////////////////////////////////////////////////////////////////////////////////////////////////////