### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

DynamoDB does not correctly namespace resources based on region and account ID. 

For instance, using the same table name across accounts and regions throws an error.

### Expected Behavior

It must be possible to create resources with same name on different regions and/or different accounts.

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

#### Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

```
  $ AWS_ACCESS_KEY_ID=445500880268 AWS_DEFAULT_REGION=eu-central-1 \
    awslocal dynamodb create-table --table-name CertificateTargets-local1 \
        --key-schema AttributeName=target_uuid,KeyType=HASH \
        --attribute-definitions AttributeName=target_uuid,AttributeType=S \
        --provisioned-throughput ReadCapacityUnits=1000,WriteCapacityUnits=1000

  $ AWS_ACCESS_KEY_ID=445500880268 AWS_DEFAULT_REGION=us-east-1 \
    awslocal dynamodb create-table --table-name CertificateTargets-local1 \
        --key-schema AttributeName=target_uuid,KeyType=HASH \
        --attribute-definitions AttributeName=target_uuid,AttributeType=S \
        --provisioned-throughput ReadCapacityUnits=1000,WriteCapacityUnits=1000

    # ResourceInUseException!

  $ AWS_ACCESS_KEY_ID=000000000000 \
    awslocal dynamodb create-table --table-name CertificateTargets-local1 \
        --key-schema AttributeName=target_uuid,KeyType=HASH \
        --attribute-definitions AttributeName=target_uuid,AttributeType=S \
        --provisioned-throughput ReadCapacityUnits=1000,WriteCapacityUnits=1000

    # ResourceInUseException!
```

### Environment

```markdown
OS: Ubuntu 22.04
LocalStack: latest
```


### Anything else?

_No response_
stack_id = stack_id or "id-123"
    pattern = "arn:aws:cloudformation:%s:%s:stack/%s/{stack_id}".format(stack_id=stack_id)
    return _resource_arn(stack_name, pattern, account_id=account_id, region_name=region_name)
def cf_change_set_arn(change_set_name, change_set_id=None, account_id=None, region_name=None):
    change_set_id = change_set_id or "id-456"
    pattern = "arn:aws:cloudformation:%s:%s:changeSet/%s/{cs_id}".format(cs_id=change_set_id)
    return _resource_arn(change_set_name, pattern, account_id=account_id, region_name=region_name)
def dynamodb_table_arn(table_name, account_id=None, region_name=None):
    table_name = table_name.split(":table/")[-1]
    pattern = "arn:aws:dynamodb:%s:%s:table/%s"
    return _resource_arn(table_name, pattern, account_id=account_id, region_name=region_name)
def dynamodb_stream_arn(table_name, latest_stream_label, account_id=None):
    account_id = account_id or get_aws_account_id()
    return "arn:aws:dynamodb:%s:%s:table/%s/stream/%s" % (
        get_region(),
        account_id,
        table_name,
        latest_stream_label,
    )
def cloudwatch_alarm_arn(alarm_name, account_id=None, region_name=None):
    pattern = "arn:aws:cloudwatch:%s:%s:alarm:%s"
    return _resource_arn(alarm_name, pattern, account_id=account_id, region_name=region_name)
def log_group_arn(group_name, account_id=None, region_name=None):