IDs are optional when constructing a distance matrix.