Fix for repetitive ids.
Category auto id.
Category auto id.
Category and regions support.
Error reporting.