added readme
throw error if no id field specified