Is this supposed to be `layer.grailsLayerId`?  Suggest method `isKnownToServer`, as above...