You can add a South African ID number field to your form by defining its properties and also including the field in your list of add or edit fields.
Here's a sample code to include a South African ID number field to your form;
$objConfig->saId('field_name', 'field_label', $required = 0)
Your download is here.