Split a name of the form {name}[:{i1}[:{i2}[:…]]] into a name and a list of 0 or more integer indices.