This function takes the following parameters:
The empty attribute to be initialized.
Attribute type to be initialized.