Adding counter expression function

This function can e.g. be used to get a symbolizer literal with
an ever increasing zIndex.
Minor doc change
Merge pull request #1093 from ahocevar/symbolizer-id

Adding counter expression function