Ensure asset id generated correctly for lookups