take the first occurence of delim and compute id and type accordingly. This works with the case when the id has the delim character in it.
Merge branch 'master' into mget
Merge pull request #36 from pelias/mget

BUG FIX: /doc endpoint has properties with funky ids