Updated to use certificate from identity in attribute finding

Updated to correctly pass certificate number