ActiveRecord Primary Key - Auto increment
You don't need to define an id attribute in your Craft Records Class - it is created automatically for you on plugin install as an auto-incremented int. You do need to define the id attribute on the equivalent Model though, and AttributeType::Number is fine for that.