Ensuring importer doesn't create illegal layer names.

This patch massages the names of layers that have illegal names, similar to how it tacks on numbers to avoid layer name conflicts. The heuristic is:

- If layer name starts with a non character, prepend an 'a'
- For all illegal word characters replace them with a '_'

Not tied in any way to this heuristic so better suggestions are welcomed.