Permit layer stamping to be overridden
Merge pull request #1581 from jfirebaugh/getLayerId

Permit layer stamping to be overridden