Create an integer attribute. Optionally, minimum and maximum values can be provided.