Add identifier to result array for greater flexibility