added some boolean columns to unwanted for layers
extended use_layer_names functionality to make layer column naming consistent (either id or name but not a mixture); moved some examples out of the \dontrun section
updated for new occurrences variable names, extra parm checking and minor doco update
minor adjustment to console output text
updated for new variable names
updated for new variable names
many changes for new occurrence variable names