No need to continually generate this static data
Replace preg_match with a straight integer comparison
unnecessary assignment
Optimize identifierIs()

No reason for this method to be static
Optimize for the most-expected case - a non-prefixed identifier.
More efficient sizeUnits determination