Requests for someone's "game ID" usually mean an account name or a friend code, and both are worth treating carefully.
An ID identifies your account inside a specific game or portal. It is not a password, and it is not a licence key. Posting it publicly is roughly as risky as posting your email address: it invites spam, friend-request bots and, on poorly moderated platforms, harassment.
To play, register on the hosting site yourself, create your own account, and log in. If a friend wants to add you, exchange IDs privately rather than in a public thread.
No legitimate game or moderator needs your password. Anyone offering coins, items or "admin powers" in exchange for a login is running a scam.