Text this: Cellular automata labeling of connected components in n-dimensional binary lattices.