Yes, objects have IDs, they're called fixed values and can be retrieved with a normal expression.