Refactor resolvers to expose a parse method capable of splitting up ids