Unfortunately, on the top level components (app and entities), the customAttribute is id, but for the child entities that are created using brooklyn.children, it's planId, hence this mapping