support: fix Attr.isId check