Returns the Integer object associated with a specified layer.
Parameters:
layer
Returns: an Integer object for that layer
Diagram: Layers