Identification of plasma environments within the terrestrial magnetotail and its global structure from the Magnetospheric Multiscale Mission