Check that we can generate a new style id

Seems that sometimes we may be missing new style ids. I'm unclear as to why or
how this could happen, maybe limitations of the dataset in dev. I dunno. Anyway
we should check for this and log a warning but still try to generate the file.