Allow custom idAttribute and update README