fixed create.id.attributes function call by adding years parameter