Can a shortcode return its own name?

A shortcode can access its own name – it is supplied as third parameter to the shortcode’s callback function, just like that:

function test_shortcode_callback( $atts = array(), $content = null, $tag ) {
    return $tag;
}
add_shortcode( 'test_shortcode', 'test_shortcode_callback' );

// So running this shortcode
[test_shortcode]
// Will return this
test_shortcode