Script Error with Collision

The following error appears :
Script error: OnCollisionEnter
This message parameter has to be of type: Collision
The message will be ignored.

My code is :

using UnityEngine;

public class Collision : MonoBehaviour
{
void OnCollisionEnter(Collision collisionidentifier)
{
Debug.Log(collisionidentifier.GetComponent().name);
}

}

If anyone could help, I would really appreciate it.

Nevermind. Fixed it by changing the name of the script from Collision to CollisionObject. And after I did that I had to fix “GetComponent()”