You know what would be really cool? To be able to include in the definition of a layout environment something like this:
LyxCommand label-insert For:#0 with the result that such a label was automatically created from an optional argument. Now that would rock! Richard