Many of the layer-related functions take a ``standard layer argument''. This can be an integer index number into the layer table, where the index is 1-based, and values less than 1 return the current layer. The argument can also be a string, giving a layer name in layer[:purpose] form, or an alias name. If the string is null or empty, the current layer is returned.