limit shapefile fieldname to 10 in fieldcalculator and add attribute dialog (fixes #8235)