Returns the layer attribute for the specified Component.
Parameters:
c
Returns: an int specifying the component's current layer
Diagram: Layers