Identify an object by its class and any specified attributes.