check for nonunique cl ids

work on #46
check for correct spelling of bool variables in tables