Versions with this page:
Versions without this page:
int The unique id of the layer with name.
name
Returns the id given the name. Will return 0 if an invalid name was given.