if u could ve told any accompanying symptoms apart from pain it would help in forming a diagnosis...
my advice is to get a FNAC(fine needle aspiration cytology)of the lump..as it gives a clear cut diagnosis...the possibilities can be a Lipoma
, sebaceous cyst
or an ectopic thyroid
...my advice is to get an FNAC plus a thyroid function test..
hope u get well soon