TRESOR-385 BinaryResourceState.attributeValue() add missing ID check. Without ID check, the content will be discarded because no ID value found in resource