Text this: The formation of low-dimensional ionic crystallites in carbon nanotubes